package org.zhaijisong.dao;

import org.apache.ibatis.annotations.Param;
import org.zhaijisong.pojo.StaffRole;

import java.util.List;

public interface StaffRoleDao extends CommonDao<StaffRole,Integer> {
    /**
     * 按员工id查询所属角色
     */
    public List<StaffRole> getByStaffRoles(@Param("id")Integer id);
}
